package com.qfjy.homework.limingwei.staticProxy;

/**
 * @author : LIMINGWEI
 * @version : 1.0
 * @date : 11/10/22 7:35 PM
 */
public class ProxyImage implements Image {
    private RealImage realImage;
    @Override
    public void display() {
        if(realImage == null){
            realImage = new RealImage();
        }
        realImage.display();
    }
}
